{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "c8502f85",
   "metadata": {
    "origin_pos": 1
   },
   "source": [
    "# Batch Normalization\n",
    ":label:`sec_batch_norm`\n",
    "\n",
    "Training deep neural networks is difficult.\n",
    "Getting them to converge in a reasonable amount of time can be tricky.\n",
    "In this section, we describe *batch normalization*, a popular and effective technique\n",
    "that consistently accelerates the convergence of deep networks :cite:`Ioffe.Szegedy.2015`.\n",
    "Together with residual blocks---covered later in :numref:`sec_resnet`---batch normalization\n",
    "has made it possible for practitioners to routinely train networks with over 100 layers.\n",
    "A secondary (serendipitous) benefit of batch normalization lies in its inherent regularization.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "f7b44765",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T19:58:59.890305Z",
     "iopub.status.busy": "2023-08-18T19:58:59.889455Z",
     "iopub.status.idle": "2023-08-18T19:59:03.088529Z",
     "shell.execute_reply": "2023-08-18T19:59:03.087539Z"
    },
    "origin_pos": 3,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [],
   "source": [
    "import torch\n",
    "from torch import nn\n",
    "from d2l import torch as d2l"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "85aa6aae",
   "metadata": {
    "origin_pos": 6
   },
   "source": [
    "## Training Deep Networks\n",
    "\n",
    "When working with data, we often preprocess before training.\n",
    "Choices regarding data preprocessing often make an enormous difference in the final results.\n",
    "Recall our application of MLPs to predicting house prices (:numref:`sec_kaggle_house`).\n",
    "Our first step when working with real data\n",
    "was to standardize our input features to have\n",
    "zero mean $\\boldsymbol{\\mu} = 0$ and unit variance $\\boldsymbol{\\Sigma} = \\boldsymbol{1}$ across multiple observations :cite:`friedman1987exploratory`, frequently rescaling the latter so  that the diagonal is unity, i.e., $\\Sigma_{ii} = 1$.\n",
    "Yet another strategy is to rescale vectors to unit length, possibly zero mean *per observation*.\n",
    "This can work well, e.g., for spatial sensor data. These preprocessing techniques and many others, are\n",
    "beneficial for keeping the estimation problem well controlled. \n",
    "For a review of feature selection and extraction see the article of :citet:`guyon2008feature`, for example.\n",
    "Standardizing vectors also has the nice side-effect of constraining the function complexity of functions that act upon it. For instance, the celebrated radius-margin bound :cite:`Vapnik95` in support vector machines and the Perceptron Convergence Theorem :cite:`Novikoff62` rely on inputs of bounded norm. \n",
    "\n",
    "Intuitively, this standardization plays nicely with our optimizers\n",
    "since it puts the parameters *a priori* on a similar scale.\n",
    "As such, it is only natural to ask whether a corresponding normalization step *inside* a deep network\n",
    "might not be beneficial. While this is not quite the reasoning that led to the invention of batch normalization :cite:`Ioffe.Szegedy.2015`, it is a useful way of understanding it and its cousin, layer normalization :cite:`Ba.Kiros.Hinton.2016`, within a unified framework.\n",
    "\n",
    "Second, for a typical MLP or CNN, as we train,\n",
    "the variables \n",
    "in intermediate layers (e.g., affine transformation outputs in MLP)\n",
    "may take values with widely varying magnitudes:\n",
    "whether along the layers from input to output, across units in the same layer,\n",
    "and over time due to our updates to the model parameters.\n",
    "The inventors of batch normalization postulated informally\n",
    "that this drift in the distribution of such variables could hamper the convergence of the network.\n",
    "Intuitively, we might conjecture that if one\n",
    "layer has variable activations that are 100 times that of another layer,\n",
    "this might necessitate compensatory adjustments in the learning rates. Adaptive solvers\n",
    "such as AdaGrad :cite:`Duchi.Hazan.Singer.2011`, Adam :cite:`Kingma.Ba.2014`, Yogi :cite:`Zaheer.Reddi.Sachan.ea.2018`, or Distributed Shampoo :cite:`anil2020scalable` aim to address this from the viewpoint of optimization, e.g., by adding aspects of second-order methods. \n",
    "The alternative is to prevent the problem from occurring, simply by adaptive normalization.\n",
    "\n",
    "Third, deeper networks are complex and tend to be more liable to overfitting.\n",
    "This means that regularization becomes more critical. A common technique for regularization is noise\n",
    "injection. This has been known for a long time, e.g., with regard to noise injection for the\n",
    "inputs :cite:`Bishop.1995`. It also forms the basis of dropout in :numref:`sec_dropout`. As it turns out, quite serendipitously, batch normalization conveys all three benefits: preprocessing, numerical stability, and regularization.\n",
    "\n",
    "Batch normalization is applied to individual layers, or optionally, to all of them:\n",
    "In each training iteration,\n",
    "we first normalize the inputs (of batch normalization)\n",
    "by subtracting their mean and\n",
    "dividing by their standard deviation,\n",
    "where both are estimated based on the statistics of the current minibatch.\n",
    "Next, we apply a scale coefficient and an offset to recover the lost degrees\n",
    "of freedom. It is precisely due to this *normalization* based on *batch* statistics\n",
    "that *batch normalization* derives its name.\n",
    "\n",
    "Note that if we tried to apply batch normalization with minibatches of size 1,\n",
    "we would not be able to learn anything.\n",
    "That is because after subtracting the means,\n",
    "each hidden unit would take value 0.\n",
    "As you might guess, since we are devoting a whole section to batch normalization,\n",
    "with large enough minibatches the approach proves effective and stable.\n",
    "One takeaway here is that when applying batch normalization,\n",
    "the choice of batch size is\n",
    "even more significant than without batch normalization, or at least,\n",
    "suitable calibration is needed as we might adjust batch size.\n",
    "\n",
    "Denote by $\\mathcal{B}$ a minibatch and let $\\mathbf{x} \\in \\mathcal{B}$ be an input to \n",
    "batch normalization ($\\textrm{BN}$). In this case the batch normalization is defined as follows:\n",
    "\n",
    "$$\\textrm{BN}(\\mathbf{x}) = \\boldsymbol{\\gamma} \\odot \\frac{\\mathbf{x} - \\hat{\\boldsymbol{\\mu}}_\\mathcal{B}}{\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}} + \\boldsymbol{\\beta}.$$\n",
    ":eqlabel:`eq_batchnorm`\n",
    "\n",
    "In :eqref:`eq_batchnorm`,\n",
    "$\\hat{\\boldsymbol{\\mu}}_\\mathcal{B}$ is the  sample mean\n",
    "and $\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}$ is the sample standard deviation of the minibatch $\\mathcal{B}$.\n",
    "After applying standardization,\n",
    "the resulting minibatch\n",
    "has zero mean and unit variance.\n",
    "The choice of unit variance\n",
    "(rather than some other magic number) is arbitrary. We recover this degree of freedom\n",
    "by including an elementwise\n",
    "*scale parameter* $\\boldsymbol{\\gamma}$ and *shift parameter* $\\boldsymbol{\\beta}$\n",
    "that have the same shape as $\\mathbf{x}$. Both are parameters that\n",
    "need to be learned as part of model training.\n",
    "\n",
    "The variable magnitudes\n",
    "for intermediate layers cannot diverge during training\n",
    "since batch normalization actively centers and rescales them back\n",
    "to a given mean and size (via $\\hat{\\boldsymbol{\\mu}}_\\mathcal{B}$ and ${\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}}$).\n",
    "Practical experience confirms that, as alluded to when discussing feature rescaling, batch normalization seems to allow for more aggressive learning rates.\n",
    "We calculate $\\hat{\\boldsymbol{\\mu}}_\\mathcal{B}$ and ${\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}}$ in :eqref:`eq_batchnorm` as follows:\n",
    "\n",
    "$$\\hat{\\boldsymbol{\\mu}}_\\mathcal{B} = \\frac{1}{|\\mathcal{B}|} \\sum_{\\mathbf{x} \\in \\mathcal{B}} \\mathbf{x}\n",
    "\\textrm{ and }\n",
    "\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}^2 = \\frac{1}{|\\mathcal{B}|} \\sum_{\\mathbf{x} \\in \\mathcal{B}} (\\mathbf{x} - \\hat{\\boldsymbol{\\mu}}_{\\mathcal{B}})^2 + \\epsilon.$$\n",
    "\n",
    "Note that we add a small constant $\\epsilon > 0$\n",
    "to the variance estimate\n",
    "to ensure that we never attempt division by zero,\n",
    "even in cases where the empirical variance estimate might be very small or vanish.\n",
    "The estimates $\\hat{\\boldsymbol{\\mu}}_\\mathcal{B}$ and ${\\hat{\\boldsymbol{\\sigma}}_\\mathcal{B}}$ counteract the scaling issue\n",
    "by using noisy estimates of mean and variance.\n",
    "You might think that this noisiness should be a problem.\n",
    "On the contrary, it is actually beneficial.\n",
    "\n",
    "This turns out to be a recurring theme in deep learning.\n",
    "For reasons that are not yet well-characterized theoretically,\n",
    "various sources of noise in optimization\n",
    "often lead to faster training and less overfitting:\n",
    "this variation appears to act as a form of regularization.\n",
    ":citet:`Teye.Azizpour.Smith.2018` and :citet:`Luo.Wang.Shao.ea.2018`\n",
    "related the properties of batch normalization to Bayesian priors and penalties, respectively. \n",
    "In particular, this sheds some light on the puzzle\n",
    "of why batch normalization works best for moderate minibatch sizes in the 50--100 range.\n",
    "This particular size of minibatch seems to inject just the \"right amount\" of noise per layer, both in terms of scale via $\\hat{\\boldsymbol{\\sigma}}$, and in terms of offset via $\\hat{\\boldsymbol{\\mu}}$: a\n",
    "larger minibatch regularizes less due to the more stable estimates, whereas tiny minibatches\n",
    "destroy useful signal due to high variance. Exploring this direction further, considering alternative types\n",
    "of preprocessing and filtering may yet lead to other effective types of regularization.\n",
    "\n",
    "Fixing a trained model, you might think\n",
    "that we would prefer using the entire dataset\n",
    "to estimate the mean and variance.\n",
    "Once training is complete, why would we want\n",
    "the same image to be classified differently,\n",
    "depending on the batch in which it happens to reside?\n",
    "During training, such exact calculation is infeasible\n",
    "because the intermediate variables\n",
    "for all data examples\n",
    "change every time we update our model.\n",
    "However, once the model is trained,\n",
    "we can calculate the means and variances\n",
    "of each layer's variables based on the entire dataset.\n",
    "Indeed this is standard practice for\n",
    "models employing batch normalization;\n",
    "thus batch normalization layers function differently\n",
    "in *training mode* (normalizing by minibatch statistics)\n",
    "than in *prediction mode* (normalizing by dataset statistics).\n",
    "In this form they closely resemble the behavior of dropout regularization of :numref:`sec_dropout`,\n",
    "where noise is only injected during training.\n",
    "\n",
    "\n",
    "## Batch Normalization Layers\n",
    "\n",
    "Batch normalization implementations for fully connected layers\n",
    "and convolutional layers are slightly different.\n",
    "One key difference between batch normalization and other layers\n",
    "is that because the former operates on a full minibatch at a time,\n",
    "we cannot just ignore the batch dimension\n",
    "as we did before when introducing other layers.\n",
    "\n",
    "### Fully Connected Layers\n",
    "\n",
    "When applying batch normalization to fully connected layers,\n",
    ":citet:`Ioffe.Szegedy.2015`, in their original paper inserted batch normalization after the affine transformation\n",
    "and *before* the nonlinear activation function. Later applications experimented with\n",
    "inserting batch normalization right *after* activation functions.\n",
    "Denoting the input to the fully connected layer by $\\mathbf{x}$,\n",
    "the affine transformation\n",
    "by $\\mathbf{W}\\mathbf{x} + \\mathbf{b}$ (with the weight parameter $\\mathbf{W}$ and the bias parameter $\\mathbf{b}$),\n",
    "and the activation function by $\\phi$,\n",
    "we can express the computation of a batch-normalization-enabled,\n",
    "fully connected layer output $\\mathbf{h}$ as follows:\n",
    "\n",
    "$$\\mathbf{h} = \\phi(\\textrm{BN}(\\mathbf{W}\\mathbf{x} + \\mathbf{b}) ).$$\n",
    "\n",
    "Recall that mean and variance are computed\n",
    "on the *same* minibatch\n",
    "on which the transformation is applied.\n",
    "\n",
    "### Convolutional Layers\n",
    "\n",
    "Similarly, with convolutional layers,\n",
    "we can apply batch normalization after the convolution\n",
    "but before the nonlinear activation function. The key difference from batch normalization\n",
    "in fully connected layers is that we apply the operation on a per-channel basis\n",
    "*across all locations*. This is compatible with our assumption of translation\n",
    "invariance that led to convolutions: we assumed that the specific location of a pattern\n",
    "within an image was not critical for the purpose of understanding.\n",
    "\n",
    "Assume that our minibatches contain $m$ examples\n",
    "and that for each channel,\n",
    "the output of the convolution has height $p$ and width $q$.\n",
    "For convolutional layers, we carry out each batch normalization\n",
    "over the $m \\cdot p \\cdot q$ elements per output channel simultaneously.\n",
    "Thus, we collect the values over all spatial locations\n",
    "when computing the mean and variance\n",
    "and consequently\n",
    "apply the same mean and variance\n",
    "within a given channel\n",
    "to normalize the value at each spatial location.\n",
    "Each channel has its own scale and shift parameters,\n",
    "both of which are scalars.\n",
    "\n",
    "### Layer Normalization\n",
    ":label:`subsec_layer-normalization-in-bn`\n",
    "\n",
    "Note that in the context of convolutions the batch normalization is well defined even for\n",
    "minibatches of size 1: after all, we have all the locations across an image to average. Consequently,\n",
    "mean and variance are well defined, even if it is just within a single observation. This consideration\n",
    "led :citet:`Ba.Kiros.Hinton.2016` to introduce the notion of *layer normalization*. It works just like\n",
    "a batch norm, only that it is applied to one observation at a time. Consequently both the offset and the scaling factor are scalars. For an $n$-dimensional vector $\\mathbf{x}$, layer norms are given by \n",
    "\n",
    "$$\\mathbf{x} \\rightarrow \\textrm{LN}(\\mathbf{x}) =  \\frac{\\mathbf{x} - \\hat{\\mu}}{\\hat\\sigma},$$\n",
    "\n",
    "where scaling and offset are applied coefficient-wise\n",
    "and given by \n",
    "\n",
    "$$\\hat{\\mu} \\stackrel{\\textrm{def}}{=} \\frac{1}{n} \\sum_{i=1}^n x_i \\textrm{ and }\n",
    "\\hat{\\sigma}^2 \\stackrel{\\textrm{def}}{=} \\frac{1}{n} \\sum_{i=1}^n (x_i - \\hat{\\mu})^2 + \\epsilon.$$\n",
    "\n",
    "As before we add a small offset $\\epsilon > 0$ to prevent division by zero. One of the major benefits of using layer normalization is that it prevents divergence. After all, ignoring $\\epsilon$, the output of the layer normalization is scale independent. That is, we have $\\textrm{LN}(\\mathbf{x}) \\approx \\textrm{LN}(\\alpha \\mathbf{x})$ for any choice of $\\alpha \\neq 0$. This becomes an equality for $|\\alpha| \\to \\infty$ (the approximate equality is due to the offset $\\epsilon$ for the variance). \n",
    "\n",
    "Another advantage of the layer normalization is that it does not depend on the minibatch size. It is also independent of whether we are in training or test regime. In other words, it is simply a deterministic transformation that standardizes the activations to a given scale. This can be very beneficial in preventing divergence in optimization. We skip further details and recommend that interested readers consult the original paper.\n",
    "\n",
    "### Batch Normalization During Prediction\n",
    "\n",
    "As we mentioned earlier, batch normalization typically behaves differently\n",
    "in training mode than in prediction mode.\n",
    "First, the noise in the sample mean and the sample variance\n",
    "arising from estimating each on minibatches\n",
    "is no longer desirable once we have trained the model.\n",
    "Second, we might not have the luxury\n",
    "of computing per-batch normalization statistics.\n",
    "For example,\n",
    "we might need to apply our model to make one prediction at a time.\n",
    "\n",
    "Typically, after training, we use the entire dataset\n",
    "to compute stable estimates of the variable statistics\n",
    "and then fix them at prediction time.\n",
    "Hence, batch normalization behaves differently during training than at test time.\n",
    "Recall that dropout also exhibits this characteristic.\n",
    "\n",
    "## (**Implementation from Scratch**)\n",
    "\n",
    "To see how batch normalization works in practice, we implement one from scratch below.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "9a79b8f2",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T19:59:03.092523Z",
     "iopub.status.busy": "2023-08-18T19:59:03.092120Z",
     "iopub.status.idle": "2023-08-18T19:59:03.100348Z",
     "shell.execute_reply": "2023-08-18T19:59:03.099493Z"
    },
    "origin_pos": 8,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [],
   "source": [
    "def batch_norm(X, gamma, beta, moving_mean, moving_var, eps, momentum):\n",
    "    # Use is_grad_enabled to determine whether we are in training mode\n",
    "    if not torch.is_grad_enabled():\n",
    "        # In prediction mode, use mean and variance obtained by moving average\n",
    "        X_hat = (X - moving_mean) / torch.sqrt(moving_var + eps)\n",
    "    else:\n",
    "        assert len(X.shape) in (2, 4)\n",
    "        if len(X.shape) == 2:\n",
    "            # When using a fully connected layer, calculate the mean and\n",
    "            # variance on the feature dimension\n",
    "            mean = X.mean(dim=0)\n",
    "            var = ((X - mean) ** 2).mean(dim=0)\n",
    "        else:\n",
    "            # When using a two-dimensional convolutional layer, calculate the\n",
    "            # mean and variance on the channel dimension (axis=1). Here we\n",
    "            # need to maintain the shape of X, so that the broadcasting\n",
    "            # operation can be carried out later\n",
    "            mean = X.mean(dim=(0, 2, 3), keepdim=True)\n",
    "            var = ((X - mean) ** 2).mean(dim=(0, 2, 3), keepdim=True)\n",
    "        # In training mode, the current mean and variance are used\n",
    "        X_hat = (X - mean) / torch.sqrt(var + eps)\n",
    "        # Update the mean and variance using moving average\n",
    "        moving_mean = (1.0 - momentum) * moving_mean + momentum * mean\n",
    "        moving_var = (1.0 - momentum) * moving_var + momentum * var\n",
    "    Y = gamma * X_hat + beta  # Scale and shift\n",
    "    return Y, moving_mean.data, moving_var.data"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "49370dea",
   "metadata": {
    "origin_pos": 11
   },
   "source": [
    "We can now [**create a proper `BatchNorm` layer.**]\n",
    "Our layer will maintain proper parameters\n",
    "for scale `gamma` and shift `beta`,\n",
    "both of which will be updated in the course of training.\n",
    "Additionally, our layer will maintain\n",
    "moving averages of the means and variances\n",
    "for subsequent use during model prediction.\n",
    "\n",
    "Putting aside the algorithmic details,\n",
    "note the design pattern underlying our implementation of the layer.\n",
    "Typically, we define the mathematics in a separate function, say `batch_norm`.\n",
    "We then integrate this functionality into a custom layer,\n",
    "whose code mostly addresses bookkeeping matters,\n",
    "such as moving data to the right device context,\n",
    "allocating and initializing any required variables,\n",
    "keeping track of moving averages (here for mean and variance), and so on.\n",
    "This pattern enables a clean separation of mathematics from boilerplate code.\n",
    "Also note that for the sake of convenience\n",
    "we did not worry about automatically inferring the input shape here;\n",
    "thus we need to specify the number of features throughout.\n",
    "By now all modern deep learning frameworks offer automatic detection of size and shape in the\n",
    "high-level batch normalization APIs (in practice we will use this instead).\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "8a591dd1",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T19:59:03.103959Z",
     "iopub.status.busy": "2023-08-18T19:59:03.103597Z",
     "iopub.status.idle": "2023-08-18T19:59:03.113624Z",
     "shell.execute_reply": "2023-08-18T19:59:03.112645Z"
    },
    "origin_pos": 13,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [],
   "source": [
    "class BatchNorm(nn.Module):\n",
    "    # num_features: the number of outputs for a fully connected layer or the\n",
    "    # number of output channels for a convolutional layer. num_dims: 2 for a\n",
    "    # fully connected layer and 4 for a convolutional layer\n",
    "    def __init__(self, num_features, num_dims):\n",
    "        super().__init__()\n",
    "        if num_dims == 2:\n",
    "            shape = (1, num_features)\n",
    "        else:\n",
    "            shape = (1, num_features, 1, 1)\n",
    "        # The scale parameter and the shift parameter (model parameters) are\n",
    "        # initialized to 1 and 0, respectively\n",
    "        self.gamma = nn.Parameter(torch.ones(shape))\n",
    "        self.beta = nn.Parameter(torch.zeros(shape))\n",
    "        # The variables that are not model parameters are initialized to 0 and\n",
    "        # 1\n",
    "        self.moving_mean = torch.zeros(shape)\n",
    "        self.moving_var = torch.ones(shape)\n",
    "\n",
    "    def forward(self, X):\n",
    "        # If X is not on the main memory, copy moving_mean and moving_var to\n",
    "        # the device where X is located\n",
    "        if self.moving_mean.device != X.device:\n",
    "            self.moving_mean = self.moving_mean.to(X.device)\n",
    "            self.moving_var = self.moving_var.to(X.device)\n",
    "        # Save the updated moving_mean and moving_var\n",
    "        Y, self.moving_mean, self.moving_var = batch_norm(\n",
    "            X, self.gamma, self.beta, self.moving_mean,\n",
    "            self.moving_var, eps=1e-5, momentum=0.1)\n",
    "        return Y"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "7e8bc89f",
   "metadata": {
    "origin_pos": 16
   },
   "source": [
    "We used `momentum` to govern the aggregation over past mean and variance estimates. This is somewhat of a misnomer as it has nothing whatsoever to do with the *momentum* term of optimization. Nonetheless, it is the commonly adopted name for this term and in deference to API naming convention we use the same variable name in our code.\n",
    "\n",
    "## [**LeNet with Batch Normalization**]\n",
    "\n",
    "To see how to apply `BatchNorm` in context,\n",
    "below we apply it to a traditional LeNet model (:numref:`sec_lenet`).\n",
    "Recall that batch normalization is applied\n",
    "after the convolutional layers or fully connected layers\n",
    "but before the corresponding activation functions.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "21c51c36",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T19:59:03.118112Z",
     "iopub.status.busy": "2023-08-18T19:59:03.117737Z",
     "iopub.status.idle": "2023-08-18T19:59:03.124711Z",
     "shell.execute_reply": "2023-08-18T19:59:03.123881Z"
    },
    "origin_pos": 17,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [],
   "source": [
    "class BNLeNetScratch(d2l.Classifier):\n",
    "    def __init__(self, lr=0.1, num_classes=10):\n",
    "        super().__init__()\n",
    "        self.save_hyperparameters()\n",
    "        self.net = nn.Sequential(\n",
    "            nn.LazyConv2d(6, kernel_size=5), BatchNorm(6, num_dims=4),\n",
    "            nn.Sigmoid(), nn.AvgPool2d(kernel_size=2, stride=2),\n",
    "            nn.LazyConv2d(16, kernel_size=5), BatchNorm(16, num_dims=4),\n",
    "            nn.Sigmoid(), nn.AvgPool2d(kernel_size=2, stride=2),\n",
    "            nn.Flatten(), nn.LazyLinear(120),\n",
    "            BatchNorm(120, num_dims=2), nn.Sigmoid(), nn.LazyLinear(84),\n",
    "            BatchNorm(84, num_dims=2), nn.Sigmoid(),\n",
    "            nn.LazyLinear(num_classes))"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e842386f",
   "metadata": {
    "origin_pos": 21
   },
   "source": [
    "As before, we will [**train our network on the Fashion-MNIST dataset**].\n",
    "This code is virtually identical to that when we first trained LeNet.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "064cdd64",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T19:59:03.127886Z",
     "iopub.status.busy": "2023-08-18T19:59:03.127595Z",
     "iopub.status.idle": "2023-08-18T20:00:16.870229Z",
     "shell.execute_reply": "2023-08-18T20:00:16.869283Z"
    },
    "origin_pos": 22,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"238.965625pt\" height=\"183.35625pt\" viewBox=\"0 0 238.965625 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2023-08-18T20:00:16.743614</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.7.2, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 183.35625 \n",
       "L 238.965625 183.35625 \n",
       "L 238.965625 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 225.403125 145.8 \n",
       "L 225.403125 7.2 \n",
       "L 30.103125 7.2 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_1\">\n",
       "    <g id=\"xtick_1\">\n",
       "     <g id=\"line2d_1\">\n",
       "      <defs>\n",
       "       <path id=\"me9f52d89df\" d=\"M 0 0 \n",
       "L 0 3.5 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"30.103125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_1\">\n",
       "      <!-- 0 -->\n",
       "      <g transform=\"translate(26.921875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \n",
       "Q 1547 4250 1301 3770 \n",
       "Q 1056 3291 1056 2328 \n",
       "Q 1056 1369 1301 889 \n",
       "Q 1547 409 2034 409 \n",
       "Q 2525 409 2770 889 \n",
       "Q 3016 1369 3016 2328 \n",
       "Q 3016 3291 2770 3770 \n",
       "Q 2525 4250 2034 4250 \n",
       "z\n",
       "M 2034 4750 \n",
       "Q 2819 4750 3233 4129 \n",
       "Q 3647 3509 3647 2328 \n",
       "Q 3647 1150 3233 529 \n",
       "Q 2819 -91 2034 -91 \n",
       "Q 1250 -91 836 529 \n",
       "Q 422 1150 422 2328 \n",
       "Q 422 3509 836 4129 \n",
       "Q 1250 4750 2034 4750 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_2\">\n",
       "     <g id=\"line2d_2\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"69.163125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_2\">\n",
       "      <!-- 2 -->\n",
       "      <g transform=\"translate(65.981875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \n",
       "L 3431 531 \n",
       "L 3431 0 \n",
       "L 469 0 \n",
       "L 469 531 \n",
       "Q 828 903 1448 1529 \n",
       "Q 2069 2156 2228 2338 \n",
       "Q 2531 2678 2651 2914 \n",
       "Q 2772 3150 2772 3378 \n",
       "Q 2772 3750 2511 3984 \n",
       "Q 2250 4219 1831 4219 \n",
       "Q 1534 4219 1204 4116 \n",
       "Q 875 4013 500 3803 \n",
       "L 500 4441 \n",
       "Q 881 4594 1212 4672 \n",
       "Q 1544 4750 1819 4750 \n",
       "Q 2544 4750 2975 4387 \n",
       "Q 3406 4025 3406 3419 \n",
       "Q 3406 3131 3298 2873 \n",
       "Q 3191 2616 2906 2266 \n",
       "Q 2828 2175 2409 1742 \n",
       "Q 1991 1309 1228 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-32\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_3\">\n",
       "     <g id=\"line2d_3\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"108.223125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_3\">\n",
       "      <!-- 4 -->\n",
       "      <g transform=\"translate(105.041875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \n",
       "L 825 1625 \n",
       "L 2419 1625 \n",
       "L 2419 4116 \n",
       "z\n",
       "M 2253 4666 \n",
       "L 3047 4666 \n",
       "L 3047 1625 \n",
       "L 3713 1625 \n",
       "L 3713 1100 \n",
       "L 3047 1100 \n",
       "L 3047 0 \n",
       "L 2419 0 \n",
       "L 2419 1100 \n",
       "L 313 1100 \n",
       "L 313 1709 \n",
       "L 2253 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-34\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_4\">\n",
       "     <g id=\"line2d_4\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"147.283125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_4\">\n",
       "      <!-- 6 -->\n",
       "      <g transform=\"translate(144.101875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \n",
       "Q 1688 2584 1439 2293 \n",
       "Q 1191 2003 1191 1497 \n",
       "Q 1191 994 1439 701 \n",
       "Q 1688 409 2113 409 \n",
       "Q 2538 409 2786 701 \n",
       "Q 3034 994 3034 1497 \n",
       "Q 3034 2003 2786 2293 \n",
       "Q 2538 2584 2113 2584 \n",
       "z\n",
       "M 3366 4563 \n",
       "L 3366 3988 \n",
       "Q 3128 4100 2886 4159 \n",
       "Q 2644 4219 2406 4219 \n",
       "Q 1781 4219 1451 3797 \n",
       "Q 1122 3375 1075 2522 \n",
       "Q 1259 2794 1537 2939 \n",
       "Q 1816 3084 2150 3084 \n",
       "Q 2853 3084 3261 2657 \n",
       "Q 3669 2231 3669 1497 \n",
       "Q 3669 778 3244 343 \n",
       "Q 2819 -91 2113 -91 \n",
       "Q 1303 -91 875 529 \n",
       "Q 447 1150 447 2328 \n",
       "Q 447 3434 972 4092 \n",
       "Q 1497 4750 2381 4750 \n",
       "Q 2619 4750 2861 4703 \n",
       "Q 3103 4656 3366 4563 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-36\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_5\">\n",
       "     <g id=\"line2d_5\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"186.343125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_5\">\n",
       "      <!-- 8 -->\n",
       "      <g transform=\"translate(183.161875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \n",
       "Q 1584 2216 1326 1975 \n",
       "Q 1069 1734 1069 1313 \n",
       "Q 1069 891 1326 650 \n",
       "Q 1584 409 2034 409 \n",
       "Q 2484 409 2743 651 \n",
       "Q 3003 894 3003 1313 \n",
       "Q 3003 1734 2745 1975 \n",
       "Q 2488 2216 2034 2216 \n",
       "z\n",
       "M 1403 2484 \n",
       "Q 997 2584 770 2862 \n",
       "Q 544 3141 544 3541 \n",
       "Q 544 4100 942 4425 \n",
       "Q 1341 4750 2034 4750 \n",
       "Q 2731 4750 3128 4425 \n",
       "Q 3525 4100 3525 3541 \n",
       "Q 3525 3141 3298 2862 \n",
       "Q 3072 2584 2669 2484 \n",
       "Q 3125 2378 3379 2068 \n",
       "Q 3634 1759 3634 1313 \n",
       "Q 3634 634 3220 271 \n",
       "Q 2806 -91 2034 -91 \n",
       "Q 1263 -91 848 271 \n",
       "Q 434 634 434 1313 \n",
       "Q 434 1759 690 2068 \n",
       "Q 947 2378 1403 2484 \n",
       "z\n",
       "M 1172 3481 \n",
       "Q 1172 3119 1398 2916 \n",
       "Q 1625 2713 2034 2713 \n",
       "Q 2441 2713 2670 2916 \n",
       "Q 2900 3119 2900 3481 \n",
       "Q 2900 3844 2670 4047 \n",
       "Q 2441 4250 2034 4250 \n",
       "Q 1625 4250 1398 4047 \n",
       "Q 1172 3844 1172 3481 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-38\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_6\">\n",
       "     <g id=\"line2d_6\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#me9f52d89df\" x=\"225.403125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_6\">\n",
       "      <!-- 10 -->\n",
       "      <g transform=\"translate(219.040625 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-31\" d=\"M 794 531 \n",
       "L 1825 531 \n",
       "L 1825 4091 \n",
       "L 703 3866 \n",
       "L 703 4441 \n",
       "L 1819 4666 \n",
       "L 2450 4666 \n",
       "L 2450 531 \n",
       "L 3481 531 \n",
       "L 3481 0 \n",
       "L 794 0 \n",
       "L 794 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-31\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"text_7\">\n",
       "     <!-- epoch -->\n",
       "     <g transform=\"translate(112.525 174.076563) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \n",
       "L 3597 1613 \n",
       "L 953 1613 \n",
       "Q 991 1019 1311 708 \n",
       "Q 1631 397 2203 397 \n",
       "Q 2534 397 2845 478 \n",
       "Q 3156 559 3463 722 \n",
       "L 3463 178 \n",
       "Q 3153 47 2828 -22 \n",
       "Q 2503 -91 2169 -91 \n",
       "Q 1331 -91 842 396 \n",
       "Q 353 884 353 1716 \n",
       "Q 353 2575 817 3079 \n",
       "Q 1281 3584 2069 3584 \n",
       "Q 2775 3584 3186 3129 \n",
       "Q 3597 2675 3597 1894 \n",
       "z\n",
       "M 3022 2063 \n",
       "Q 3016 2534 2758 2815 \n",
       "Q 2500 3097 2075 3097 \n",
       "Q 1594 3097 1305 2825 \n",
       "Q 1016 2553 972 2059 \n",
       "L 3022 2063 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \n",
       "L 1159 -1331 \n",
       "L 581 -1331 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2969 \n",
       "Q 1341 3281 1617 3432 \n",
       "Q 1894 3584 2278 3584 \n",
       "Q 2916 3584 3314 3078 \n",
       "Q 3713 2572 3713 1747 \n",
       "Q 3713 922 3314 415 \n",
       "Q 2916 -91 2278 -91 \n",
       "Q 1894 -91 1617 61 \n",
       "Q 1341 213 1159 525 \n",
       "z\n",
       "M 3116 1747 \n",
       "Q 3116 2381 2855 2742 \n",
       "Q 2594 3103 2138 3103 \n",
       "Q 1681 3103 1420 2742 \n",
       "Q 1159 2381 1159 1747 \n",
       "Q 1159 1113 1420 752 \n",
       "Q 1681 391 2138 391 \n",
       "Q 2594 391 2855 752 \n",
       "Q 3116 1113 3116 1747 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \n",
       "Q 1497 3097 1228 2736 \n",
       "Q 959 2375 959 1747 \n",
       "Q 959 1119 1226 758 \n",
       "Q 1494 397 1959 397 \n",
       "Q 2419 397 2687 759 \n",
       "Q 2956 1122 2956 1747 \n",
       "Q 2956 2369 2687 2733 \n",
       "Q 2419 3097 1959 3097 \n",
       "z\n",
       "M 1959 3584 \n",
       "Q 2709 3584 3137 3096 \n",
       "Q 3566 2609 3566 1747 \n",
       "Q 3566 888 3137 398 \n",
       "Q 2709 -91 1959 -91 \n",
       "Q 1206 -91 779 398 \n",
       "Q 353 888 353 1747 \n",
       "Q 353 2609 779 3096 \n",
       "Q 1206 3584 1959 3584 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-63\" d=\"M 3122 3366 \n",
       "L 3122 2828 \n",
       "Q 2878 2963 2633 3030 \n",
       "Q 2388 3097 2138 3097 \n",
       "Q 1578 3097 1268 2742 \n",
       "Q 959 2388 959 1747 \n",
       "Q 959 1106 1268 751 \n",
       "Q 1578 397 2138 397 \n",
       "Q 2388 397 2633 464 \n",
       "Q 2878 531 3122 666 \n",
       "L 3122 134 \n",
       "Q 2881 22 2623 -34 \n",
       "Q 2366 -91 2075 -91 \n",
       "Q 1284 -91 818 406 \n",
       "Q 353 903 353 1747 \n",
       "Q 353 2603 823 3093 \n",
       "Q 1294 3584 2113 3584 \n",
       "Q 2378 3584 2631 3529 \n",
       "Q 2884 3475 3122 3366 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \n",
       "L 3513 0 \n",
       "L 2938 0 \n",
       "L 2938 2094 \n",
       "Q 2938 2591 2744 2837 \n",
       "Q 2550 3084 2163 3084 \n",
       "Q 1697 3084 1428 2787 \n",
       "Q 1159 2491 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 4863 \n",
       "L 1159 4863 \n",
       "L 1159 2956 \n",
       "Q 1366 3272 1645 3428 \n",
       "Q 1925 3584 2291 3584 \n",
       "Q 2894 3584 3203 3211 \n",
       "Q 3513 2838 3513 2113 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-65\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-70\" x=\"61.523438\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"125\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"186.181641\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-68\" x=\"241.162109\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_2\">\n",
       "    <g id=\"ytick_1\">\n",
       "     <g id=\"line2d_7\">\n",
       "      <defs>\n",
       "       <path id=\"m2311c1d91d\" d=\"M 0 0 \n",
       "L -3.5 0 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#m2311c1d91d\" x=\"30.103125\" y=\"120.007978\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_8\">\n",
       "      <!-- 0.4 -->\n",
       "      <g transform=\"translate(7.2 123.807197) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \n",
       "L 1344 794 \n",
       "L 1344 0 \n",
       "L 684 0 \n",
       "L 684 794 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-34\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_2\">\n",
       "     <g id=\"line2d_8\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m2311c1d91d\" x=\"30.103125\" y=\"79.499296\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_9\">\n",
       "      <!-- 0.6 -->\n",
       "      <g transform=\"translate(7.2 83.298515) scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-36\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_3\">\n",
       "     <g id=\"line2d_9\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#m2311c1d91d\" x=\"30.103125\" y=\"38.990615\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_10\">\n",
       "      <!-- 0.8 -->\n",
       "      <g transform=\"translate(7.2 42.789833) scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-38\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"line2d_10\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_11\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_12\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_13\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_14\"/>\n",
       "   <g id=\"line2d_15\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_16\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_17\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_18\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_19\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_20\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_21\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_22\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_23\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_24\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_25\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_26\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_27\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_28\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_29\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_30\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_31\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_32\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_33\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_34\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_35\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_36\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_37\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_38\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_39\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_40\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_41\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_42\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_43\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_44\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_45\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_46\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_47\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_48\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_49\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_50\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_51\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_52\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_53\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_54\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_55\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_56\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_57\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_58\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_59\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_60\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_61\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_62\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_63\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_64\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_65\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_66\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_67\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_68\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_69\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_70\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_71\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_72\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_73\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_74\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_75\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_76\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_77\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_78\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_79\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_80\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_81\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_82\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_83\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_84\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_85\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_86\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_87\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_88\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_89\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_90\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_91\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_92\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_93\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_94\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_95\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_96\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_97\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_98\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_99\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_100\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_101\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_102\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_103\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_104\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_105\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_106\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_107\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_108\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_109\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_110\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_111\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_112\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_113\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "L 205.873125 23.559499 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_114\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "L 210.349618 139.5 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_115\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_116\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "L 205.873125 23.559499 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_117\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "L 210.349618 139.5 \n",
       "L 220.093797 139.327593 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_118\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_119\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "L 205.873125 23.559499 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_120\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "L 210.349618 139.5 \n",
       "L 220.093797 139.327593 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_121\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "L 225.403125 132.110555 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_122\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "L 205.873125 23.559499 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_123\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 76.658775 \n",
       "L 54.442752 93.867199 \n",
       "L 64.186931 102.264145 \n",
       "L 73.93111 107.714792 \n",
       "L 83.675289 114.632947 \n",
       "L 93.419468 119.280899 \n",
       "L 103.163647 118.689318 \n",
       "L 112.907826 123.490568 \n",
       "L 122.652006 125.887857 \n",
       "L 132.396185 126.914519 \n",
       "L 142.140364 130.505087 \n",
       "L 151.884543 130.662983 \n",
       "L 161.628722 133.499296 \n",
       "L 171.372901 134.257497 \n",
       "L 181.11708 135.66988 \n",
       "L 190.861259 138.194976 \n",
       "L 200.605438 137.111935 \n",
       "L 210.349618 139.5 \n",
       "L 220.093797 139.327593 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_124\">\n",
       "    <path d=\"M 49.633125 82.042859 \n",
       "L 69.163125 94.275178 \n",
       "L 88.693125 107.785475 \n",
       "L 108.223125 107.115952 \n",
       "L 127.753125 102.779489 \n",
       "L 147.283125 120.172164 \n",
       "L 166.813125 122.456324 \n",
       "L 186.343125 132.22508 \n",
       "L 205.873125 131.497197 \n",
       "L 225.403125 132.110555 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_125\">\n",
       "    <path d=\"M 49.633125 38.702182 \n",
       "L 69.163125 36.538942 \n",
       "L 88.693125 31.531441 \n",
       "L 108.223125 32.613061 \n",
       "L 127.753125 31.791831 \n",
       "L 147.283125 27.48538 \n",
       "L 166.813125 26.66415 \n",
       "L 186.343125 23.098809 \n",
       "L 205.873125 23.559499 \n",
       "L 225.403125 23.579529 \n",
       "\" clip-path=\"url(#p68e21a74df)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 30.103125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 225.403125 145.8 \n",
       "L 225.403125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 225.403125 145.8 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 30.103125 7.2 \n",
       "L 225.403125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"legend_1\">\n",
       "    <g id=\"patch_7\">\n",
       "     <path d=\"M 138.8125 100.434375 \n",
       "L 218.403125 100.434375 \n",
       "Q 220.403125 100.434375 220.403125 98.434375 \n",
       "L 220.403125 54.565625 \n",
       "Q 220.403125 52.565625 218.403125 52.565625 \n",
       "L 138.8125 52.565625 \n",
       "Q 136.8125 52.565625 136.8125 54.565625 \n",
       "L 136.8125 98.434375 \n",
       "Q 136.8125 100.434375 138.8125 100.434375 \n",
       "z\n",
       "\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n",
       "    </g>\n",
       "    <g id=\"line2d_126\">\n",
       "     <path d=\"M 140.8125 60.664063 \n",
       "L 150.8125 60.664063 \n",
       "L 160.8125 60.664063 \n",
       "\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_11\">\n",
       "     <!-- train_loss -->\n",
       "     <g transform=\"translate(168.8125 64.164063) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \n",
       "L 1172 3500 \n",
       "L 2356 3500 \n",
       "L 2356 3053 \n",
       "L 1172 3053 \n",
       "L 1172 1153 \n",
       "Q 1172 725 1289 603 \n",
       "Q 1406 481 1766 481 \n",
       "L 2356 481 \n",
       "L 2356 0 \n",
       "L 1766 0 \n",
       "Q 1100 0 847 248 \n",
       "Q 594 497 594 1153 \n",
       "L 594 3053 \n",
       "L 172 3053 \n",
       "L 172 3500 \n",
       "L 594 3500 \n",
       "L 594 4494 \n",
       "L 1172 4494 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \n",
       "Q 2534 3019 2420 3045 \n",
       "Q 2306 3072 2169 3072 \n",
       "Q 1681 3072 1420 2755 \n",
       "Q 1159 2438 1159 1844 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1341 3275 1631 3429 \n",
       "Q 1922 3584 2338 3584 \n",
       "Q 2397 3584 2469 3576 \n",
       "Q 2541 3569 2628 3553 \n",
       "L 2631 2963 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \n",
       "Q 1497 1759 1228 1600 \n",
       "Q 959 1441 959 1056 \n",
       "Q 959 750 1161 570 \n",
       "Q 1363 391 1709 391 \n",
       "Q 2188 391 2477 730 \n",
       "Q 2766 1069 2766 1631 \n",
       "L 2766 1759 \n",
       "L 2194 1759 \n",
       "z\n",
       "M 3341 1997 \n",
       "L 3341 0 \n",
       "L 2766 0 \n",
       "L 2766 531 \n",
       "Q 2569 213 2275 61 \n",
       "Q 1981 -91 1556 -91 \n",
       "Q 1019 -91 701 211 \n",
       "Q 384 513 384 1019 \n",
       "Q 384 1609 779 1909 \n",
       "Q 1175 2209 1959 2209 \n",
       "L 2766 2209 \n",
       "L 2766 2266 \n",
       "Q 2766 2663 2505 2880 \n",
       "Q 2244 3097 1772 3097 \n",
       "Q 1472 3097 1187 3025 \n",
       "Q 903 2953 641 2809 \n",
       "L 641 3341 \n",
       "Q 956 3463 1253 3523 \n",
       "Q 1550 3584 1831 3584 \n",
       "Q 2591 3584 2966 3190 \n",
       "Q 3341 2797 3341 1997 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \n",
       "L 1178 3500 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 3500 \n",
       "z\n",
       "M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 4134 \n",
       "L 603 4134 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \n",
       "L 3513 0 \n",
       "L 2938 0 \n",
       "L 2938 2094 \n",
       "Q 2938 2591 2744 2837 \n",
       "Q 2550 3084 2163 3084 \n",
       "Q 1697 3084 1428 2787 \n",
       "Q 1159 2491 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1366 3272 1645 3428 \n",
       "Q 1925 3584 2291 3584 \n",
       "Q 2894 3584 3203 3211 \n",
       "Q 3513 2838 3513 2113 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-5f\" d=\"M 3263 -1063 \n",
       "L 3263 -1509 \n",
       "L -63 -1509 \n",
       "L -63 -1063 \n",
       "L 3263 -1063 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \n",
       "L 2834 2853 \n",
       "Q 2591 2978 2328 3040 \n",
       "Q 2066 3103 1784 3103 \n",
       "Q 1356 3103 1142 2972 \n",
       "Q 928 2841 928 2578 \n",
       "Q 928 2378 1081 2264 \n",
       "Q 1234 2150 1697 2047 \n",
       "L 1894 2003 \n",
       "Q 2506 1872 2764 1633 \n",
       "Q 3022 1394 3022 966 \n",
       "Q 3022 478 2636 193 \n",
       "Q 2250 -91 1575 -91 \n",
       "Q 1294 -91 989 -36 \n",
       "Q 684 19 347 128 \n",
       "L 347 722 \n",
       "Q 666 556 975 473 \n",
       "Q 1284 391 1588 391 \n",
       "Q 1994 391 2212 530 \n",
       "Q 2431 669 2431 922 \n",
       "Q 2431 1156 2273 1281 \n",
       "Q 2116 1406 1581 1522 \n",
       "L 1381 1569 \n",
       "Q 847 1681 609 1914 \n",
       "Q 372 2147 372 2553 \n",
       "Q 372 3047 722 3315 \n",
       "Q 1072 3584 1716 3584 \n",
       "Q 2034 3584 2315 3537 \n",
       "Q 2597 3491 2834 3397 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-74\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-72\" x=\"39.208984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"80.322266\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"141.601562\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6e\" x=\"169.384766\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"232.763672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"282.763672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"310.546875\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"371.728516\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"423.828125\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_127\">\n",
       "     <path d=\"M 140.8125 75.620313 \n",
       "L 150.8125 75.620313 \n",
       "L 160.8125 75.620313 \n",
       "\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "    </g>\n",
       "    <g id=\"text_12\">\n",
       "     <!-- val_loss -->\n",
       "     <g transform=\"translate(168.8125 79.120313) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-76\" d=\"M 191 3500 \n",
       "L 800 3500 \n",
       "L 1894 563 \n",
       "L 2988 3500 \n",
       "L 3597 3500 \n",
       "L 2284 0 \n",
       "L 1503 0 \n",
       "L 191 3500 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-76\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"59.179688\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"120.458984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"148.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"198.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"226.025391\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"287.207031\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"339.306641\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_128\">\n",
       "     <path d=\"M 140.8125 90.576563 \n",
       "L 150.8125 90.576563 \n",
       "L 160.8125 90.576563 \n",
       "\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "    </g>\n",
       "    <g id=\"text_13\">\n",
       "     <!-- val_acc -->\n",
       "     <g transform=\"translate(168.8125 94.076563) scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-76\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"59.179688\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"120.458984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"148.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"198.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"259.521484\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"314.501953\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"p68e21a74df\">\n",
       "   <rect x=\"30.103125\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 350x250 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "trainer = d2l.Trainer(max_epochs=10, num_gpus=1)\n",
    "data = d2l.FashionMNIST(batch_size=128)\n",
    "model = BNLeNetScratch(lr=0.1)\n",
    "model.apply_init([next(iter(data.get_dataloader(True)))[0]], d2l.init_cnn)\n",
    "trainer.fit(model, data)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "27eb3037",
   "metadata": {
    "origin_pos": 24
   },
   "source": [
    "Let's [**have a look at the scale parameter `gamma`\n",
    "and the shift parameter `beta`**] learned\n",
    "from the first batch normalization layer.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "4969fdc2",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T20:00:16.875213Z",
     "iopub.status.busy": "2023-08-18T20:00:16.874610Z",
     "iopub.status.idle": "2023-08-18T20:00:16.971921Z",
     "shell.execute_reply": "2023-08-18T20:00:16.970745Z"
    },
    "origin_pos": 26,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(tensor([1.4334, 1.9905, 1.8584, 2.0740, 2.0522, 1.8877], device='cuda:0',\n",
       "        grad_fn=<ViewBackward0>),\n",
       " tensor([ 0.7354, -1.3538, -0.2567, -0.9991, -0.3028,  1.3125], device='cuda:0',\n",
       "        grad_fn=<ViewBackward0>))"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "model.net[1].gamma.reshape((-1,)), model.net[1].beta.reshape((-1,))"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6befcbce",
   "metadata": {
    "origin_pos": 29
   },
   "source": [
    "## [**Concise Implementation**]\n",
    "\n",
    "Compared with the `BatchNorm` class,\n",
    "which we just defined ourselves,\n",
    "we can use the `BatchNorm` class defined in high-level APIs from the deep learning framework directly.\n",
    "The code looks virtually identical\n",
    "to our implementation above, except that we no longer need to provide additional arguments for it to get the dimensions right.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "ef2ab147",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T20:00:16.975625Z",
     "iopub.status.busy": "2023-08-18T20:00:16.975018Z",
     "iopub.status.idle": "2023-08-18T20:00:16.981373Z",
     "shell.execute_reply": "2023-08-18T20:00:16.980550Z"
    },
    "origin_pos": 30,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [],
   "source": [
    "class BNLeNet(d2l.Classifier):\n",
    "    def __init__(self, lr=0.1, num_classes=10):\n",
    "        super().__init__()\n",
    "        self.save_hyperparameters()\n",
    "        self.net = nn.Sequential(\n",
    "            nn.LazyConv2d(6, kernel_size=5), nn.LazyBatchNorm2d(),\n",
    "            nn.Sigmoid(), nn.AvgPool2d(kernel_size=2, stride=2),\n",
    "            nn.LazyConv2d(16, kernel_size=5), nn.LazyBatchNorm2d(),\n",
    "            nn.Sigmoid(), nn.AvgPool2d(kernel_size=2, stride=2),\n",
    "            nn.Flatten(), nn.LazyLinear(120), nn.LazyBatchNorm1d(),\n",
    "            nn.Sigmoid(), nn.LazyLinear(84), nn.LazyBatchNorm1d(),\n",
    "            nn.Sigmoid(), nn.LazyLinear(num_classes))"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "75bb4f92",
   "metadata": {
    "origin_pos": 32
   },
   "source": [
    "Below, we [**use the same hyperparameters to train our model.**]\n",
    "Note that as usual, the high-level API variant runs much faster\n",
    "because its code has been compiled to C++ or CUDA\n",
    "while our custom implementation must be interpreted by Python.\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "0d6aaf49",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2023-08-18T20:00:16.984898Z",
     "iopub.status.busy": "2023-08-18T20:00:16.984364Z",
     "iopub.status.idle": "2023-08-18T20:01:21.082406Z",
     "shell.execute_reply": "2023-08-18T20:01:21.081474Z"
    },
    "origin_pos": 33,
    "tab": [
     "pytorch"
    ]
   },
   "outputs": [
    {
     "data": {
      "image/svg+xml": [
       "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
       "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
       "  \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
       "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"238.965625pt\" height=\"183.35625pt\" viewBox=\"0 0 238.965625 183.35625\" xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n",
       " <metadata>\n",
       "  <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
       "   <cc:Work>\n",
       "    <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
       "    <dc:date>2023-08-18T20:01:20.955982</dc:date>\n",
       "    <dc:format>image/svg+xml</dc:format>\n",
       "    <dc:creator>\n",
       "     <cc:Agent>\n",
       "      <dc:title>Matplotlib v3.7.2, https://matplotlib.org/</dc:title>\n",
       "     </cc:Agent>\n",
       "    </dc:creator>\n",
       "   </cc:Work>\n",
       "  </rdf:RDF>\n",
       " </metadata>\n",
       " <defs>\n",
       "  <style type=\"text/css\">*{stroke-linejoin: round; stroke-linecap: butt}</style>\n",
       " </defs>\n",
       " <g id=\"figure_1\">\n",
       "  <g id=\"patch_1\">\n",
       "   <path d=\"M 0 183.35625 \n",
       "L 238.965625 183.35625 \n",
       "L 238.965625 0 \n",
       "L 0 0 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "  </g>\n",
       "  <g id=\"axes_1\">\n",
       "   <g id=\"patch_2\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 225.403125 145.8 \n",
       "L 225.403125 7.2 \n",
       "L 30.103125 7.2 \n",
       "z\n",
       "\" style=\"fill: #ffffff\"/>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_1\">\n",
       "    <g id=\"xtick_1\">\n",
       "     <g id=\"line2d_1\">\n",
       "      <defs>\n",
       "       <path id=\"maa7e9e8843\" d=\"M 0 0 \n",
       "L 0 3.5 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"30.103125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_1\">\n",
       "      <!-- 0 -->\n",
       "      <g transform=\"translate(26.921875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-30\" d=\"M 2034 4250 \n",
       "Q 1547 4250 1301 3770 \n",
       "Q 1056 3291 1056 2328 \n",
       "Q 1056 1369 1301 889 \n",
       "Q 1547 409 2034 409 \n",
       "Q 2525 409 2770 889 \n",
       "Q 3016 1369 3016 2328 \n",
       "Q 3016 3291 2770 3770 \n",
       "Q 2525 4250 2034 4250 \n",
       "z\n",
       "M 2034 4750 \n",
       "Q 2819 4750 3233 4129 \n",
       "Q 3647 3509 3647 2328 \n",
       "Q 3647 1150 3233 529 \n",
       "Q 2819 -91 2034 -91 \n",
       "Q 1250 -91 836 529 \n",
       "Q 422 1150 422 2328 \n",
       "Q 422 3509 836 4129 \n",
       "Q 1250 4750 2034 4750 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_2\">\n",
       "     <g id=\"line2d_2\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"69.163125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_2\">\n",
       "      <!-- 2 -->\n",
       "      <g transform=\"translate(65.981875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-32\" d=\"M 1228 531 \n",
       "L 3431 531 \n",
       "L 3431 0 \n",
       "L 469 0 \n",
       "L 469 531 \n",
       "Q 828 903 1448 1529 \n",
       "Q 2069 2156 2228 2338 \n",
       "Q 2531 2678 2651 2914 \n",
       "Q 2772 3150 2772 3378 \n",
       "Q 2772 3750 2511 3984 \n",
       "Q 2250 4219 1831 4219 \n",
       "Q 1534 4219 1204 4116 \n",
       "Q 875 4013 500 3803 \n",
       "L 500 4441 \n",
       "Q 881 4594 1212 4672 \n",
       "Q 1544 4750 1819 4750 \n",
       "Q 2544 4750 2975 4387 \n",
       "Q 3406 4025 3406 3419 \n",
       "Q 3406 3131 3298 2873 \n",
       "Q 3191 2616 2906 2266 \n",
       "Q 2828 2175 2409 1742 \n",
       "Q 1991 1309 1228 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-32\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_3\">\n",
       "     <g id=\"line2d_3\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"108.223125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_3\">\n",
       "      <!-- 4 -->\n",
       "      <g transform=\"translate(105.041875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-34\" d=\"M 2419 4116 \n",
       "L 825 1625 \n",
       "L 2419 1625 \n",
       "L 2419 4116 \n",
       "z\n",
       "M 2253 4666 \n",
       "L 3047 4666 \n",
       "L 3047 1625 \n",
       "L 3713 1625 \n",
       "L 3713 1100 \n",
       "L 3047 1100 \n",
       "L 3047 0 \n",
       "L 2419 0 \n",
       "L 2419 1100 \n",
       "L 313 1100 \n",
       "L 313 1709 \n",
       "L 2253 4666 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-34\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_4\">\n",
       "     <g id=\"line2d_4\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"147.283125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_4\">\n",
       "      <!-- 6 -->\n",
       "      <g transform=\"translate(144.101875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-36\" d=\"M 2113 2584 \n",
       "Q 1688 2584 1439 2293 \n",
       "Q 1191 2003 1191 1497 \n",
       "Q 1191 994 1439 701 \n",
       "Q 1688 409 2113 409 \n",
       "Q 2538 409 2786 701 \n",
       "Q 3034 994 3034 1497 \n",
       "Q 3034 2003 2786 2293 \n",
       "Q 2538 2584 2113 2584 \n",
       "z\n",
       "M 3366 4563 \n",
       "L 3366 3988 \n",
       "Q 3128 4100 2886 4159 \n",
       "Q 2644 4219 2406 4219 \n",
       "Q 1781 4219 1451 3797 \n",
       "Q 1122 3375 1075 2522 \n",
       "Q 1259 2794 1537 2939 \n",
       "Q 1816 3084 2150 3084 \n",
       "Q 2853 3084 3261 2657 \n",
       "Q 3669 2231 3669 1497 \n",
       "Q 3669 778 3244 343 \n",
       "Q 2819 -91 2113 -91 \n",
       "Q 1303 -91 875 529 \n",
       "Q 447 1150 447 2328 \n",
       "Q 447 3434 972 4092 \n",
       "Q 1497 4750 2381 4750 \n",
       "Q 2619 4750 2861 4703 \n",
       "Q 3103 4656 3366 4563 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-36\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_5\">\n",
       "     <g id=\"line2d_5\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"186.343125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_5\">\n",
       "      <!-- 8 -->\n",
       "      <g transform=\"translate(183.161875 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-38\" d=\"M 2034 2216 \n",
       "Q 1584 2216 1326 1975 \n",
       "Q 1069 1734 1069 1313 \n",
       "Q 1069 891 1326 650 \n",
       "Q 1584 409 2034 409 \n",
       "Q 2484 409 2743 651 \n",
       "Q 3003 894 3003 1313 \n",
       "Q 3003 1734 2745 1975 \n",
       "Q 2488 2216 2034 2216 \n",
       "z\n",
       "M 1403 2484 \n",
       "Q 997 2584 770 2862 \n",
       "Q 544 3141 544 3541 \n",
       "Q 544 4100 942 4425 \n",
       "Q 1341 4750 2034 4750 \n",
       "Q 2731 4750 3128 4425 \n",
       "Q 3525 4100 3525 3541 \n",
       "Q 3525 3141 3298 2862 \n",
       "Q 3072 2584 2669 2484 \n",
       "Q 3125 2378 3379 2068 \n",
       "Q 3634 1759 3634 1313 \n",
       "Q 3634 634 3220 271 \n",
       "Q 2806 -91 2034 -91 \n",
       "Q 1263 -91 848 271 \n",
       "Q 434 634 434 1313 \n",
       "Q 434 1759 690 2068 \n",
       "Q 947 2378 1403 2484 \n",
       "z\n",
       "M 1172 3481 \n",
       "Q 1172 3119 1398 2916 \n",
       "Q 1625 2713 2034 2713 \n",
       "Q 2441 2713 2670 2916 \n",
       "Q 2900 3119 2900 3481 \n",
       "Q 2900 3844 2670 4047 \n",
       "Q 2441 4250 2034 4250 \n",
       "Q 1625 4250 1398 4047 \n",
       "Q 1172 3844 1172 3481 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-38\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"xtick_6\">\n",
       "     <g id=\"line2d_6\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#maa7e9e8843\" x=\"225.403125\" y=\"145.8\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_6\">\n",
       "      <!-- 10 -->\n",
       "      <g transform=\"translate(219.040625 160.398438) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-31\" d=\"M 794 531 \n",
       "L 1825 531 \n",
       "L 1825 4091 \n",
       "L 703 3866 \n",
       "L 703 4441 \n",
       "L 1819 4666 \n",
       "L 2450 4666 \n",
       "L 2450 531 \n",
       "L 3481 531 \n",
       "L 3481 0 \n",
       "L 794 0 \n",
       "L 794 531 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-31\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-30\" x=\"63.623047\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"text_7\">\n",
       "     <!-- epoch -->\n",
       "     <g transform=\"translate(112.525 174.076563) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-65\" d=\"M 3597 1894 \n",
       "L 3597 1613 \n",
       "L 953 1613 \n",
       "Q 991 1019 1311 708 \n",
       "Q 1631 397 2203 397 \n",
       "Q 2534 397 2845 478 \n",
       "Q 3156 559 3463 722 \n",
       "L 3463 178 \n",
       "Q 3153 47 2828 -22 \n",
       "Q 2503 -91 2169 -91 \n",
       "Q 1331 -91 842 396 \n",
       "Q 353 884 353 1716 \n",
       "Q 353 2575 817 3079 \n",
       "Q 1281 3584 2069 3584 \n",
       "Q 2775 3584 3186 3129 \n",
       "Q 3597 2675 3597 1894 \n",
       "z\n",
       "M 3022 2063 \n",
       "Q 3016 2534 2758 2815 \n",
       "Q 2500 3097 2075 3097 \n",
       "Q 1594 3097 1305 2825 \n",
       "Q 1016 2553 972 2059 \n",
       "L 3022 2063 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-70\" d=\"M 1159 525 \n",
       "L 1159 -1331 \n",
       "L 581 -1331 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2969 \n",
       "Q 1341 3281 1617 3432 \n",
       "Q 1894 3584 2278 3584 \n",
       "Q 2916 3584 3314 3078 \n",
       "Q 3713 2572 3713 1747 \n",
       "Q 3713 922 3314 415 \n",
       "Q 2916 -91 2278 -91 \n",
       "Q 1894 -91 1617 61 \n",
       "Q 1341 213 1159 525 \n",
       "z\n",
       "M 3116 1747 \n",
       "Q 3116 2381 2855 2742 \n",
       "Q 2594 3103 2138 3103 \n",
       "Q 1681 3103 1420 2742 \n",
       "Q 1159 2381 1159 1747 \n",
       "Q 1159 1113 1420 752 \n",
       "Q 1681 391 2138 391 \n",
       "Q 2594 391 2855 752 \n",
       "Q 3116 1113 3116 1747 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6f\" d=\"M 1959 3097 \n",
       "Q 1497 3097 1228 2736 \n",
       "Q 959 2375 959 1747 \n",
       "Q 959 1119 1226 758 \n",
       "Q 1494 397 1959 397 \n",
       "Q 2419 397 2687 759 \n",
       "Q 2956 1122 2956 1747 \n",
       "Q 2956 2369 2687 2733 \n",
       "Q 2419 3097 1959 3097 \n",
       "z\n",
       "M 1959 3584 \n",
       "Q 2709 3584 3137 3096 \n",
       "Q 3566 2609 3566 1747 \n",
       "Q 3566 888 3137 398 \n",
       "Q 2709 -91 1959 -91 \n",
       "Q 1206 -91 779 398 \n",
       "Q 353 888 353 1747 \n",
       "Q 353 2609 779 3096 \n",
       "Q 1206 3584 1959 3584 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-63\" d=\"M 3122 3366 \n",
       "L 3122 2828 \n",
       "Q 2878 2963 2633 3030 \n",
       "Q 2388 3097 2138 3097 \n",
       "Q 1578 3097 1268 2742 \n",
       "Q 959 2388 959 1747 \n",
       "Q 959 1106 1268 751 \n",
       "Q 1578 397 2138 397 \n",
       "Q 2388 397 2633 464 \n",
       "Q 2878 531 3122 666 \n",
       "L 3122 134 \n",
       "Q 2881 22 2623 -34 \n",
       "Q 2366 -91 2075 -91 \n",
       "Q 1284 -91 818 406 \n",
       "Q 353 903 353 1747 \n",
       "Q 353 2603 823 3093 \n",
       "Q 1294 3584 2113 3584 \n",
       "Q 2378 3584 2631 3529 \n",
       "Q 2884 3475 3122 3366 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-68\" d=\"M 3513 2113 \n",
       "L 3513 0 \n",
       "L 2938 0 \n",
       "L 2938 2094 \n",
       "Q 2938 2591 2744 2837 \n",
       "Q 2550 3084 2163 3084 \n",
       "Q 1697 3084 1428 2787 \n",
       "Q 1159 2491 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 4863 \n",
       "L 1159 4863 \n",
       "L 1159 2956 \n",
       "Q 1366 3272 1645 3428 \n",
       "Q 1925 3584 2291 3584 \n",
       "Q 2894 3584 3203 3211 \n",
       "Q 3513 2838 3513 2113 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-65\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-70\" x=\"61.523438\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"125\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"186.181641\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-68\" x=\"241.162109\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"matplotlib.axis_2\">\n",
       "    <g id=\"ytick_1\">\n",
       "     <g id=\"line2d_7\">\n",
       "      <defs>\n",
       "       <path id=\"mcf9cb2bada\" d=\"M 0 0 \n",
       "L -3.5 0 \n",
       "\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </defs>\n",
       "      <g>\n",
       "       <use xlink:href=\"#mcf9cb2bada\" x=\"30.103125\" y=\"120.069513\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_8\">\n",
       "      <!-- 0.4 -->\n",
       "      <g transform=\"translate(7.2 123.868732) scale(0.1 -0.1)\">\n",
       "       <defs>\n",
       "        <path id=\"DejaVuSans-2e\" d=\"M 684 794 \n",
       "L 1344 794 \n",
       "L 1344 0 \n",
       "L 684 0 \n",
       "L 684 794 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       </defs>\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-34\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_2\">\n",
       "     <g id=\"line2d_8\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mcf9cb2bada\" x=\"30.103125\" y=\"80.424875\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_9\">\n",
       "      <!-- 0.6 -->\n",
       "      <g transform=\"translate(7.2 84.224094) scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-36\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"ytick_3\">\n",
       "     <g id=\"line2d_9\">\n",
       "      <g>\n",
       "       <use xlink:href=\"#mcf9cb2bada\" x=\"30.103125\" y=\"40.780237\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "     <g id=\"text_10\">\n",
       "      <!-- 0.8 -->\n",
       "      <g transform=\"translate(7.2 44.579455) scale(0.1 -0.1)\">\n",
       "       <use xlink:href=\"#DejaVuSans-30\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-2e\" x=\"63.623047\"/>\n",
       "       <use xlink:href=\"#DejaVuSans-38\" x=\"95.410156\"/>\n",
       "      </g>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "   <g id=\"line2d_10\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_11\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_12\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_13\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_14\"/>\n",
       "   <g id=\"line2d_15\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_16\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_17\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_18\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_19\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_20\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_21\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_22\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_23\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_24\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_25\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_26\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_27\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_28\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_29\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_30\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_31\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_32\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_33\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_34\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_35\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_36\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_37\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_38\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_39\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_40\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_41\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_42\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_43\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_44\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_45\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_46\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_47\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_48\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_49\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_50\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_51\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_52\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_53\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_54\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_55\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_56\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_57\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_58\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_59\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_60\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_61\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_62\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_63\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_64\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_65\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_66\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_67\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_68\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_69\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_70\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_71\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_72\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_73\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_74\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_75\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_76\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_77\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_78\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_79\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_80\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_81\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_82\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_83\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_84\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_85\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_86\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_87\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_88\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_89\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_90\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_91\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_92\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_93\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_94\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_95\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_96\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_97\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_98\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_99\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_100\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_101\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_102\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_103\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_104\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_105\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_106\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_107\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_108\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_109\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_110\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_111\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_112\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_113\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "L 205.873125 27.148472 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_114\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "L 210.349618 139.152327 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_115\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_116\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "L 205.873125 27.148472 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_117\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "L 210.349618 139.152327 \n",
       "L 220.093797 139.5 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_118\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_119\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "L 205.873125 27.148472 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_120\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "L 210.349618 139.152327 \n",
       "L 220.093797 139.5 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_121\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "L 225.403125 123.405613 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_122\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "L 205.873125 27.148472 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_123\">\n",
       "    <path d=\"M 34.954394 13.5 \n",
       "L 44.698573 79.862759 \n",
       "L 54.442752 95.796476 \n",
       "L 64.186931 104.701774 \n",
       "L 73.93111 110.852231 \n",
       "L 83.675289 114.512327 \n",
       "L 93.419468 118.452778 \n",
       "L 103.163647 122.200435 \n",
       "L 112.907826 124.810806 \n",
       "L 122.652006 125.374299 \n",
       "L 132.396185 129.995235 \n",
       "L 142.140364 128.867116 \n",
       "L 151.884543 132.590545 \n",
       "L 161.628722 133.124653 \n",
       "L 171.372901 134.002209 \n",
       "L 181.11708 136.737627 \n",
       "L 190.861259 136.123426 \n",
       "L 200.605438 138.737109 \n",
       "L 210.349618 139.152327 \n",
       "L 220.093797 139.5 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_124\">\n",
       "    <path d=\"M 49.633125 78.869213 \n",
       "L 69.163125 95.979003 \n",
       "L 88.693125 107.462222 \n",
       "L 108.223125 114.247687 \n",
       "L 127.753125 119.867 \n",
       "L 147.283125 119.725954 \n",
       "L 166.813125 126.802976 \n",
       "L 186.343125 126.215335 \n",
       "L 205.873125 125.873923 \n",
       "L 225.403125 123.405613 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"line2d_125\">\n",
       "    <path d=\"M 49.633125 41.399684 \n",
       "L 69.163125 38.870927 \n",
       "L 88.693125 33.735002 \n",
       "L 108.223125 30.774984 \n",
       "L 127.753125 29.775243 \n",
       "L 147.283125 29.520407 \n",
       "L 166.813125 27.030855 \n",
       "L 186.343125 27.030855 \n",
       "L 205.873125 27.148472 \n",
       "L 225.403125 27.364102 \n",
       "\" clip-path=\"url(#p09b45d4030)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_3\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 30.103125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_4\">\n",
       "    <path d=\"M 225.403125 145.8 \n",
       "L 225.403125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_5\">\n",
       "    <path d=\"M 30.103125 145.8 \n",
       "L 225.403125 145.8 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"patch_6\">\n",
       "    <path d=\"M 30.103125 7.2 \n",
       "L 225.403125 7.2 \n",
       "\" style=\"fill: none; stroke: #000000; stroke-width: 0.8; stroke-linejoin: miter; stroke-linecap: square\"/>\n",
       "   </g>\n",
       "   <g id=\"legend_1\">\n",
       "    <g id=\"patch_7\">\n",
       "     <path d=\"M 138.8125 100.434375 \n",
       "L 218.403125 100.434375 \n",
       "Q 220.403125 100.434375 220.403125 98.434375 \n",
       "L 220.403125 54.565625 \n",
       "Q 220.403125 52.565625 218.403125 52.565625 \n",
       "L 138.8125 52.565625 \n",
       "Q 136.8125 52.565625 136.8125 54.565625 \n",
       "L 136.8125 98.434375 \n",
       "Q 136.8125 100.434375 138.8125 100.434375 \n",
       "z\n",
       "\" style=\"fill: #ffffff; opacity: 0.8; stroke: #cccccc; stroke-linejoin: miter\"/>\n",
       "    </g>\n",
       "    <g id=\"line2d_126\">\n",
       "     <path d=\"M 140.8125 60.664063 \n",
       "L 150.8125 60.664063 \n",
       "L 160.8125 60.664063 \n",
       "\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
       "    </g>\n",
       "    <g id=\"text_11\">\n",
       "     <!-- train_loss -->\n",
       "     <g transform=\"translate(168.8125 64.164063) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-74\" d=\"M 1172 4494 \n",
       "L 1172 3500 \n",
       "L 2356 3500 \n",
       "L 2356 3053 \n",
       "L 1172 3053 \n",
       "L 1172 1153 \n",
       "Q 1172 725 1289 603 \n",
       "Q 1406 481 1766 481 \n",
       "L 2356 481 \n",
       "L 2356 0 \n",
       "L 1766 0 \n",
       "Q 1100 0 847 248 \n",
       "Q 594 497 594 1153 \n",
       "L 594 3053 \n",
       "L 172 3053 \n",
       "L 172 3500 \n",
       "L 594 3500 \n",
       "L 594 4494 \n",
       "L 1172 4494 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-72\" d=\"M 2631 2963 \n",
       "Q 2534 3019 2420 3045 \n",
       "Q 2306 3072 2169 3072 \n",
       "Q 1681 3072 1420 2755 \n",
       "Q 1159 2438 1159 1844 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1341 3275 1631 3429 \n",
       "Q 1922 3584 2338 3584 \n",
       "Q 2397 3584 2469 3576 \n",
       "Q 2541 3569 2628 3553 \n",
       "L 2631 2963 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-61\" d=\"M 2194 1759 \n",
       "Q 1497 1759 1228 1600 \n",
       "Q 959 1441 959 1056 \n",
       "Q 959 750 1161 570 \n",
       "Q 1363 391 1709 391 \n",
       "Q 2188 391 2477 730 \n",
       "Q 2766 1069 2766 1631 \n",
       "L 2766 1759 \n",
       "L 2194 1759 \n",
       "z\n",
       "M 3341 1997 \n",
       "L 3341 0 \n",
       "L 2766 0 \n",
       "L 2766 531 \n",
       "Q 2569 213 2275 61 \n",
       "Q 1981 -91 1556 -91 \n",
       "Q 1019 -91 701 211 \n",
       "Q 384 513 384 1019 \n",
       "Q 384 1609 779 1909 \n",
       "Q 1175 2209 1959 2209 \n",
       "L 2766 2209 \n",
       "L 2766 2266 \n",
       "Q 2766 2663 2505 2880 \n",
       "Q 2244 3097 1772 3097 \n",
       "Q 1472 3097 1187 3025 \n",
       "Q 903 2953 641 2809 \n",
       "L 641 3341 \n",
       "Q 956 3463 1253 3523 \n",
       "Q 1550 3584 1831 3584 \n",
       "Q 2591 3584 2966 3190 \n",
       "Q 3341 2797 3341 1997 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-69\" d=\"M 603 3500 \n",
       "L 1178 3500 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 3500 \n",
       "z\n",
       "M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 4134 \n",
       "L 603 4134 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6e\" d=\"M 3513 2113 \n",
       "L 3513 0 \n",
       "L 2938 0 \n",
       "L 2938 2094 \n",
       "Q 2938 2591 2744 2837 \n",
       "Q 2550 3084 2163 3084 \n",
       "Q 1697 3084 1428 2787 \n",
       "Q 1159 2491 1159 1978 \n",
       "L 1159 0 \n",
       "L 581 0 \n",
       "L 581 3500 \n",
       "L 1159 3500 \n",
       "L 1159 2956 \n",
       "Q 1366 3272 1645 3428 \n",
       "Q 1925 3584 2291 3584 \n",
       "Q 2894 3584 3203 3211 \n",
       "Q 3513 2838 3513 2113 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-5f\" d=\"M 3263 -1063 \n",
       "L 3263 -1509 \n",
       "L -63 -1509 \n",
       "L -63 -1063 \n",
       "L 3263 -1063 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-6c\" d=\"M 603 4863 \n",
       "L 1178 4863 \n",
       "L 1178 0 \n",
       "L 603 0 \n",
       "L 603 4863 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "       <path id=\"DejaVuSans-73\" d=\"M 2834 3397 \n",
       "L 2834 2853 \n",
       "Q 2591 2978 2328 3040 \n",
       "Q 2066 3103 1784 3103 \n",
       "Q 1356 3103 1142 2972 \n",
       "Q 928 2841 928 2578 \n",
       "Q 928 2378 1081 2264 \n",
       "Q 1234 2150 1697 2047 \n",
       "L 1894 2003 \n",
       "Q 2506 1872 2764 1633 \n",
       "Q 3022 1394 3022 966 \n",
       "Q 3022 478 2636 193 \n",
       "Q 2250 -91 1575 -91 \n",
       "Q 1294 -91 989 -36 \n",
       "Q 684 19 347 128 \n",
       "L 347 722 \n",
       "Q 666 556 975 473 \n",
       "Q 1284 391 1588 391 \n",
       "Q 1994 391 2212 530 \n",
       "Q 2431 669 2431 922 \n",
       "Q 2431 1156 2273 1281 \n",
       "Q 2116 1406 1581 1522 \n",
       "L 1381 1569 \n",
       "Q 847 1681 609 1914 \n",
       "Q 372 2147 372 2553 \n",
       "Q 372 3047 722 3315 \n",
       "Q 1072 3584 1716 3584 \n",
       "Q 2034 3584 2315 3537 \n",
       "Q 2597 3491 2834 3397 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-74\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-72\" x=\"39.208984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"80.322266\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-69\" x=\"141.601562\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6e\" x=\"169.384766\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"232.763672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"282.763672\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"310.546875\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"371.728516\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"423.828125\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_127\">\n",
       "     <path d=\"M 140.8125 75.620313 \n",
       "L 150.8125 75.620313 \n",
       "L 160.8125 75.620313 \n",
       "\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #ff7f0e; stroke-width: 1.5\"/>\n",
       "    </g>\n",
       "    <g id=\"text_12\">\n",
       "     <!-- val_loss -->\n",
       "     <g transform=\"translate(168.8125 79.120313) scale(0.1 -0.1)\">\n",
       "      <defs>\n",
       "       <path id=\"DejaVuSans-76\" d=\"M 191 3500 \n",
       "L 800 3500 \n",
       "L 1894 563 \n",
       "L 2988 3500 \n",
       "L 3597 3500 \n",
       "L 2284 0 \n",
       "L 1503 0 \n",
       "L 191 3500 \n",
       "z\n",
       "\" transform=\"scale(0.015625)\"/>\n",
       "      </defs>\n",
       "      <use xlink:href=\"#DejaVuSans-76\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"59.179688\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"120.458984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"148.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"198.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6f\" x=\"226.025391\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"287.207031\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-73\" x=\"339.306641\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "    <g id=\"line2d_128\">\n",
       "     <path d=\"M 140.8125 90.576563 \n",
       "L 150.8125 90.576563 \n",
       "L 160.8125 90.576563 \n",
       "\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #2ca02c; stroke-width: 1.5\"/>\n",
       "    </g>\n",
       "    <g id=\"text_13\">\n",
       "     <!-- val_acc -->\n",
       "     <g transform=\"translate(168.8125 94.076563) scale(0.1 -0.1)\">\n",
       "      <use xlink:href=\"#DejaVuSans-76\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"59.179688\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-6c\" x=\"120.458984\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-5f\" x=\"148.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-61\" x=\"198.242188\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"259.521484\"/>\n",
       "      <use xlink:href=\"#DejaVuSans-63\" x=\"314.501953\"/>\n",
       "     </g>\n",
       "    </g>\n",
       "   </g>\n",
       "  </g>\n",
       " </g>\n",
       " <defs>\n",
       "  <clipPath id=\"p09b45d4030\">\n",
       "   <rect x=\"30.103125\" y=\"7.2\" width=\"195.3\" height=\"138.6\"/>\n",
       "  </clipPath>\n",
       " </defs>\n",
       "</svg>\n"
      ],
      "text/plain": [
       "<Figure size 350x250 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "trainer = d2l.Trainer(max_epochs=10, num_gpus=1)\n",
    "data = d2l.FashionMNIST(batch_size=128)\n",
    "model = BNLeNet(lr=0.1)\n",
    "model.apply_init([next(iter(data.get_dataloader(True)))[0]], d2l.init_cnn)\n",
    "trainer.fit(model, data)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "353f1805",
   "metadata": {
    "origin_pos": 35
   },
   "source": [
    "## Discussion\n",
    "\n",
    "Intuitively, batch normalization is thought\n",
    "to make the optimization landscape smoother.\n",
    "However, we must be careful to distinguish between\n",
    "speculative intuitions and true explanations\n",
    "for the phenomena that we observe when training deep models.\n",
    "Recall that we do not even know why simpler\n",
    "deep neural networks (MLPs and conventional CNNs)\n",
    "generalize well in the first place.\n",
    "Even with dropout and weight decay,\n",
    "they remain so flexible that their ability to generalize to unseen data\n",
    "likely needs significantly more refined learning-theoretic generalization guarantees.\n",
    "\n",
    "The original paper proposing batch normalization :cite:`Ioffe.Szegedy.2015`, in addition to introducing a powerful and useful tool,\n",
    "offered an explanation for why it works:\n",
    "by reducing *internal covariate shift*.\n",
    "Presumably by *internal covariate shift* they\n",
    "meant something like the intuition expressed above---the\n",
    "notion that the distribution of variable values changes\n",
    "over the course of training.\n",
    "However, there were two problems with this explanation:\n",
    "i) This drift is very different from *covariate shift*,\n",
    "rendering the name a misnomer. If anything, it is closer to concept drift. \n",
    "ii) The explanation offers an under-specified intuition\n",
    "but leaves the question of *why precisely this technique works*\n",
    "an open question wanting for a rigorous explanation.\n",
    "Throughout this book, we aim to convey the intuitions that practitioners\n",
    "use to guide their development of deep neural networks.\n",
    "However, we believe that it is important\n",
    "to separate these guiding intuitions\n",
    "from established scientific fact.\n",
    "Eventually, when you master this material\n",
    "and start writing your own research papers\n",
    "you will want to be clear to delineate\n",
    "between technical claims and hunches.\n",
    "\n",
    "Following the success of batch normalization,\n",
    "its explanation in terms of *internal covariate shift*\n",
    "has repeatedly surfaced in debates in the technical literature\n",
    "and broader discourse about how to present machine learning research.\n",
    "In a memorable speech given while accepting a Test of Time Award\n",
    "at the 2017 NeurIPS conference,\n",
    "Ali Rahimi used *internal covariate shift*\n",
    "as a focal point in an argument likening\n",
    "the modern practice of deep learning to alchemy.\n",
    "Subsequently, the example was revisited in detail\n",
    "in a position paper outlining\n",
    "troubling trends in machine learning :cite:`Lipton.Steinhardt.2018`.\n",
    "Other authors\n",
    "have proposed alternative explanations for the success of batch normalization,\n",
    "some :cite:`Santurkar.Tsipras.Ilyas.ea.2018`\n",
    "claiming that batch normalization's success comes despite exhibiting behavior\n",
    "that is in some ways opposite to those claimed in the original paper.\n",
    "\n",
    "\n",
    "We note that the *internal covariate shift*\n",
    "is no more worthy of criticism than any of\n",
    "thousands of similarly vague claims\n",
    "made every year in the technical machine learning literature.\n",
    "Likely, its resonance as a focal point of these debates\n",
    "owes to its broad recognizability for the target audience.\n",
    "Batch normalization has proven an indispensable method,\n",
    "applied in nearly all deployed image classifiers,\n",
    "earning the paper that introduced the technique\n",
    "tens of thousands of citations. We conjecture, though, that the guiding principles\n",
    "of regularization through noise injection, acceleration through rescaling and lastly preprocessing\n",
    "may well lead to further inventions of layers and techniques in the future.\n",
    "\n",
    "On a more practical note, there are a number of aspects worth remembering about batch normalization:\n",
    "\n",
    "* During model training, batch normalization continuously adjusts the intermediate output of\n",
    "  the network by utilizing the mean and standard deviation of the minibatch, so that the\n",
    "  values of the intermediate output in each layer throughout the neural network are more stable.\n",
    "* Batch normalization is slightly different for fully connected layers than for convolutional layers. In fact,\n",
    "  for convolutional layers, layer normalization can sometimes be used as an alternative.\n",
    "* Like a dropout layer, batch normalization layers have different behaviors\n",
    "  in training mode than in prediction mode.\n",
    "* Batch normalization is useful for regularization and improving convergence in optimization. By contrast,\n",
    "  the original motivation of reducing internal covariate shift seems not to be a valid explanation.\n",
    "* For more robust models that are less sensitive to input perturbations, consider removing batch normalization :cite:`wang2022removing`.\n",
    "\n",
    "## Exercises\n",
    "\n",
    "1. Should we remove the bias parameter from the fully connected layer or the convolutional layer before the batch normalization? Why?\n",
    "1. Compare the learning rates for LeNet with and without batch normalization.\n",
    "    1. Plot the increase in validation accuracy.\n",
    "    1. How large can you make the learning rate before the optimization fails in both cases?\n",
    "1. Do we need batch normalization in every layer? Experiment with it.\n",
    "1. Implement a \"lite\" version of batch normalization that only removes the mean, or alternatively one that\n",
    "   only removes the variance. How does it behave?\n",
    "1. Fix the parameters `beta` and `gamma`. Observe and analyze the results.\n",
    "1. Can you replace dropout by batch normalization? How does the behavior change?\n",
    "1. Research ideas: think of other normalization transforms that you can apply:\n",
    "    1. Can you apply the probability integral transform?\n",
    "    1. Can you use a full-rank covariance estimate? Why should you probably not do that? \n",
    "    1. Can you use other compact matrix variants (block-diagonal, low-displacement rank, Monarch, etc.)?\n",
    "    1. Does a sparsification compression act as a regularizer?\n",
    "    1. Are there other projections (e.g., convex cone, symmetry group-specific transforms) that you can use?\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "3c9f5a14",
   "metadata": {
    "origin_pos": 37,
    "tab": [
     "pytorch"
    ]
   },
   "source": [
    "[Discussions](https://discuss.d2l.ai/t/84)\n"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  },
  "required_libs": []
 },
 "nbformat": 4,
 "nbformat_minor": 5
}